<include file="Public:header" />
<script type="text/javascript">
$(function(){
	$(".area_ld").ld({
		ajaxOptions : {
			url : '{:U("ajax/area")}',
			type : 'get',
		},
		style : {"width" : 60},
		defaultParentId : 1,
		field : {
			region_id : "id",
			region_name :"name",
			parent_id : "pid"
		}
	}); 
	$('#verify').click(function(){
		$(this).attr('src','{:U('ajax/verify')}/'+Math.random());
	})
	$('.register_commit').click(function(){
		$("#register").submit();
	})
})
</script>
<div id="content">
	<div class="register">
		<div class="register_title">
			<form action="__URL__/register" method="post" id="register">
				<table>
					<tr>
						<td class="td_left">用户名称:</td>
						<td class="td_right">
							<input type="text" name="username">
						</td>
					</tr>
					<tr>
						<td class="td_left">电子邮箱:</td>
						<td class="td_right">
							<input type="text" name="email">
						</td>
					</tr>
					<tr>
						<td class="td_left">登录密码</td>
						<td class="td_right"><input type="password" name="password"></td>
					</tr>
					<tr>
						<td class="td_left">请您重复输入密码</td>
						<td class="td_right"><input type="password" name="password_repeat"></td>
					</tr>
					<tr>
						<td class="td_left">性别</td>
						<td class="td_right">
							<input style="width:10px;vertical-align:middle" value="0" type="radio" name="sex">&nbsp;男&nbsp;&nbsp;
							<input style="width:10px;vertical-align:middle" value="1" type="radio" name="sex">&nbsp;女
						</td>
					</tr>
					<tr>
						<td class="td_left">生日</td>
						<td class="td_right"><input type="text" name="birthday"  onClick="WdatePicker()"></td>
					</tr>
					<tr>
						<td class="td_left">所在地区</td>
						<td class="td_right">
							省份<select class="area_ld" name="province">
								<option value="" selected>请选择</option>
							</select>
							城市<select  class="area_ld" name="city">
								<option value="" selected>请选择</option>
							</select>
							区县<select  class="area_ld" name="county">
								<option value="" selected>请选择</option>
							</select>
						</td>
					</tr>
					<!--<tr>
						<td class="td_left">验证码</td>
						<td class="td_right">
							<img id="verify" title="如果看不清请点击更换新的验证码" src="{:U('ajax/verify')}/{:time()}">
							<input type="text" name="verify" style="width:70px;display:block;float:left;margin-top:5px;height:26px;margin-left:10px;"  name="verify">
						</td>
					</tr>-->
					<tr>
						<td colspan="2" align="center"><input type="checkbox" name="" style="width:10px;vertical-align:middle"> 同意<a target="_blank"  href="/treaty.html">旅游团服务条款</a></td>
					</tr>
					<tr>
						<td colspan="2" align="center"><a class="register_commit">提交</a></td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</div>
<include file="footer" />